package ln.think.aop.javasist.util;

import com.sun.istack.internal.NotNull;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Controller;

import javax.validation.constraints.Min;

@Aspect
@Controller("myRequestInterfaceController")
public interface MyRequestInterface {

    @Min(10)
    @Cacheable(key = "$abc")
    @NotNull
    String get(String abc);
    
}
